<?php foreach ($activityList as $item):?>
<div class="activity">
    <ul>
        <li class="activityLeft"><?php $pic = service_image::getItemPic(service_type::NEWS,$item['id']);?><img src="<?php echo $pic['src'];?>">
</li>
        <li class="activityRight">
            <ul>
                <li class="RightH1"><?php echo mb_substr($item['title'],0,3,'utf8');?></li>
                <li class="RightH2"><?php echo mb_substr($item['createTime'],0,10,'utf8');?></li>
                <li class="RightH2">发布现场</li>
                <li class="RightImg"><a href="#"><img src="<?php echo public_path('images/btn.jpg') ?>"/></a></li>
            </ul>
        </li>
    </ul>
</div>
<?php endforeach;?>
<?php echo $page;?>

<script type="text/javascript">
$(document).ready(function(){
	$(".activityLeft img").LoadImage(true,700,330);		
});
</script>